<?php

namespace App\Services\Warehouse\Services;

use App\Exceptions\ServiceException;
use App\Services\Warehouse\Interfaces\ERPUserServiceInterface;
use App\Services\Warehouse\Model\ERPUser;
use Carbon\Carbon;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Hash;

class ERPUserService implements ERPUserServiceInterface
{
    public function find($uid)
    {
        return ERPUser::query()->where('uid', $uid)->firstOrFail()->toArray();
    }
}
